#include <stdio.h>
#include <string.h>

struct Books
{
    char title[50];
    char author[50];
    char subject[100];
    int book_id;
};

void printBook(struct Books book);

void printBook(struct Books book)
{
    printf("Book title: %s\n", book.title);
    printf("Book author: %s\n", book.author);
    printf("Book subject: %s\n", book.subject);
    printf("Book book_id: %s\n", book.book_id);
};

int main()
{
    struct Books Book1;
    struct Books Book2;

    strcpy(Book1.title, "C Programming");
    strcpy(Book1.author, "Ghost");
    strcpy(Book1.subject, "C Programming Tutorial");
    Book1.book_id = 100;

    strcpy(Book2.title, "C Programming");
    strcpy(Book2.author, "Ghost");
    strcpy(Book2.subject, "C Programming Tutorial");
    Book2.book_id = 200;

    printBook(Book1);
    printBook(Book2);

    return 0;
};
